package com.info.zhiduoduo.admin.model.formbean.crowdsourcedeposit;

import java.math.BigDecimal;

import javax.validation.constraints.Min;

import com.info.zhiduoduo.common.validator.IntIn;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class SettleDepositFormBean {

	@ApiModelProperty("保证金id")
	private int id;

	@ApiModelProperty("实际保证金")
	@Min(value = 0, message = "保证金必须大于0")
	private BigDecimal actualDeposit;

	@ApiModelProperty("线上返回：0，线下返回：1")
	@IntIn(value = {0, 1}, message = "请选择正确的操作")
	private int isOnline;

	@ApiModelProperty("支付方式ID")
	private Integer payId;
}
